Skip to content

feat(e2e-test): add support for Qwen 3.5 series models#1092

Open
LearningGp wants to merge 1 commit intoagentscope-ai:mainfrom
LearningGp:e2e
Open

feat(e2e-test): add support for Qwen 3.5 series models#1092
LearningGp wants to merge 1 commit intoagentscope-ai:mainfrom
LearningGp:e2e

Conversation

@LearningGp
Copy link
Copy Markdown
Collaborator

AgentScope-Java Version

1.0.11

Description

  • Add Qwen3.5-Plus, Qwen3.5-Flash, and Qwen3.5-397B-A17B models to DashScopeCompatibleProvider

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

- Add Qwen3.5-Plus, Qwen3.5-Flash, and Qwen3.5-397B-A17B models to DashScopeCompatibleProvider
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds E2E test provider coverage for the Qwen 3.5 model series on both DashScope native and DashScope OpenAI-compatible endpoints.

Changes:

  • Introduces Qwen3.5-Plus, Qwen3.5-Flash, and Qwen3.5-397B-A17B provider variants (standard + multi-agent) for DashScope native API.
  • Introduces the same Qwen3.5 provider variants for the DashScope OpenAI-compatible API.
  • Registers the new providers in ProviderFactory so they participate in capability-based E2E selection.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
agentscope-core/src/test/java/io/agentscope/core/e2e/providers/DashScopeProvider.java Adds DashScope-native Qwen3.5 provider classes and capability annotations.
agentscope-core/src/test/java/io/agentscope/core/e2e/providers/DashScopeCompatibleProvider.java Adds DashScope OpenAI-compatible Qwen3.5 provider classes and capability annotations.
agentscope-core/src/test/java/io/agentscope/core/e2e/ProviderFactory.java Registers the new Qwen3.5 providers for discovery and filtering in E2E runs.

Comment on lines +186 to +190
/** Qwen3.5-Plus - Native multimodal model (image, video). */
@ModelCapabilities({
ModelCapability.BASIC,
ModelCapability.TOOL_CALLING,
ModelCapability.IMAGE,
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Javadoc says these Qwen3.5 models are "Native" multimodal models, but this class is the DashScope OpenAI-compatible provider. Please reword these new Javadocs to avoid implying the native DashScope API is being used (similar to the existing "via OpenAI compatible API" wording used for Qwen3-VL-Plus in this file).

Copilot uses AI. Check for mistakes.
Comment on lines +267 to +270
public static class Qwen35_397bA17bOpenAI extends DashScopeCompatibleProvider {
public Qwen35_397bA17bOpenAI() {
super("qwen3.5-397b-a17b", false);
}
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name includes an underscore and mixes casing in the size suffix ("397bA17b"), which is inconsistent with the other provider class names in this file (none use underscores). Consider renaming to a consistent Java identifier style (e.g., no underscores and consistent "B" casing) and update ProviderFactory accordingly.

Copilot uses AI. Check for mistakes.
Comment on lines +226 to +229
/**
* Qwen3.5-Plus - Native multimodal model (image, video).
*/
@ModelCapabilities({
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that Qwen3.5 providers are added in this file, the class-level Javadoc that lists supported models should be updated to include the new Qwen3.5 model IDs (otherwise the documentation is outdated).

Copilot uses AI. Check for mistakes.
Comment on lines +317 to +320
public static class Qwen35_397bA17bDashScope extends DashScopeProvider {
public Qwen35_397bA17bDashScope() {
super("qwen3.5-397b-a17b", false);
}
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name includes an underscore and uses mixed casing in the size suffix ("397bA17b"), which is inconsistent with the other provider class names in this file (none use underscores). Consider renaming to a consistent Java identifier style and update ProviderFactory references.

Copilot uses AI. Check for mistakes.
Comment on lines +102 to +105
providers.add(new DashScopeCompatibleProvider.Qwen35FlashOpenAI());
providers.add(new DashScopeCompatibleProvider.Qwen35FlashMultiAgentOpenAI());
providers.add(new DashScopeCompatibleProvider.Qwen35_397bA17bOpenAI());
providers.add(new DashScopeCompatibleProvider.Qwen35_397bA17bMultiAgentOpenAI());
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ProviderFactory now references Qwen3.5 397B-A17B providers using class names with underscores/mixed casing (Qwen35_397bA17b...). If you rename those provider classes to match the naming convention used elsewhere (no underscores), please update these instantiations to keep the factory compiling and consistent.

Copilot uses AI. Check for mistakes.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants